package com.wmh.baseservice.robot.pojo.vo.robottaskadpushunit;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author 谢骏
 * @date 2023/9/15 19:56
 **/
@ApiModel("发布任务请求对象")
@Data
@Accessors(chain = true)
public class RobotTaskAdPushUnitPushTaskReqVO {

    @NotNull(message = "未提交是否测试字段")
    private Boolean isTest;

    @Size(min = 1,message = "未提交发布单元编号")
    private List<Long> pushUnitIds;

    @Size(min = 1,message = "未提交机器编号")
    private List<Long> robotNumberList;
}
